<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		
		
	</head>
	<body style="text-align:center;" >
		<div class="box">
			<h2><span class="clock" style="font-size: 500px;"></span> </h2> 
			
			<script type="text/javascript">
				var a = 10;
				var time = document.getElementsByClassName("clock")[0];
			
				function fun() {
					a--;
					time.innerHTML = a;
					if (a <= 0) {
						window.open( "http://www.baidu.com");
						clearInterval(inter);
					}
				}
				var inter = setInterval("fun()", 1000);
			</script>
			</div>
			 </body> 
			 </html>
